package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.ChannelDTO;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;

public interface AdChannelService extends IService<AdChannel> {


    // 查询
    ResponseResult findChannelByName(ChannelDTO channelDTO);

    // 添加
    ResponseResult insertChannel(AdChannel adChannel);

    // 修改
    ResponseResult updateChannel(AdChannel adChannel);

    // 删除
    ResponseResult deleteById(Integer id);
}
